/**
* @{#} ${ classPre }Service.java Created on ${ date }
*
* Copyright (c) ${ year } by hiwitech.com software.
*/
package ${packageName}.service.${moduleName};

import ${packageName}.model.db.${ classPre };
import ${packageName}.model.request.${moduleName}.${ classPre }Request;
import ${packageName}.model.vo.${ classPre }VO;
import ${packageName}.service.BaseService;

/**
 * @author hiwitech
 * @version 1.0
 */
public interface ${ classPre }Service extends BaseService<${ classPre }, ${ classPre }VO> {
	/**
     * 通过ID修改 ${classPre}
     *
     * @param ${firstLowerClassPre}Request
     * @return
     */
    int updateById(${classPre}Request ${firstLowerClassPre}Request);

	/**
     * 新增 ${classPre}
     *
     * @param ${firstLowerClassPre}Request
     * @return
     */
    int insert(${classPre}Request ${firstLowerClassPre}Request);
    
    /**
     * 保存或者修改
     *
     * @param ${firstLowerClassPre}Request
     * @return
     */
    int saveOrUpdate(${classPre}Request ${firstLowerClassPre}Request);
}